<template>
	<view>
		<!-- 内容滚动区 -->
		<view class="scroll">
			<scroll-view scroll-y="true" class="list-scroll">
				<!-- 内容最好在标签内包裹 -->
				<view>
					<!-- 插槽 -->11111
					<slot name="neirong"></slot>
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "list-scroll",
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.scroll {
		flex: 1;
		overflow: hidden;
		box-sizing: border-box;

		.list-scroll {
			height: 100%;
			display: flex;
			flex-direction: column;
		}
	}
</style>
